<?php 
	$idx = 0;
	foreach( $pending_orders as $order_line ){ ?>
<tr valign="top">
	<td class="olnamebox">
		<div class="olname"><?php echo __($order_line['Order']['name']) ?></div>
		<div class="oladdress"><?php echo __($order_line['Order']['address']) ?></div>
	</td>
	<td class="olitembox">
		<?php foreach( $order_line['Products'] as $li ){ ?>
			<div class="olitem">
				<span class="olitemqty"><?php echo $li['LineItem']['quantity'] ?></span>
				<span class="olitemtitle"><?php echo $li['title'] ?></span>
			</div>
		<?php } ?> 
	</td>
	<td>
		<?php
			$f = "Order.$idx.to_be_shipped"; 
			$h = "Order.$idx.id";
			$idx++;
			echo $form->hidden($h,array('value' => $order_line['Order']['id']));
			echo $form->input($f, array('label' => false,'type' => 'checkbox')); 
			echo "\n";
		?>
	</td>
</tr>
<?php } ?>